package com.nave.princesslife.places;

import android.view.MotionEvent;

import com.nave.princesslife.baseboard.icons.MiniGame;
import com.nave.princesslife.baseboard.icons.Potions;
import com.nave.princesslife.baseboard.icons.Store;

public class LivingRoom_Place extends BaseLevel {

	private MiniGame miniGame;
	private Store store;
	private Potions potions;

	public LivingRoom_Place(int w, int h) {

		miniGame = MiniGame.getInstance();
		store = Store.getInstance();
		potions = Potions.getInstance();

		miniGame.setup(w, h);
		store.setup(w, h);
		potions.setup(w, h);
	}

	@Override
	public void draw() {
		miniGame.draw();
		store.draw();
		potions.draw();
	}

	@Override
	public void touchEvent(MotionEvent me, int x, int y) {

		miniGame.touchEvent(me, x, y);
		store.touchEvent(me, x, y);
		potions.touchEvent(me, x, y);
	}

}
